Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: treat firebase.json as root dir for Firebase resources #43

Merged
merged 5 commits into from
May 7, 2021

Conversation

jthegedus
Copy link
Owner

@jthegedus jthegedus commented May 6, 2021

Summary

Dirs created by the adapter are expected to be relative to the firebase.json file, it is the root location. Currently this is not the case as noted in #33

To resolve this we must:

  • identify firebase.json dir as the root
  • create the firebase.json.hosting.public dir relative to this new root
  • read the firebase.json.functions.source dir relative to this new root
  • create the cloudRunBuildDir dir relative to this new root

Fixes: #33

@jthegedus jthegedus changed the title fix: resolve firebase.json in relative dir correctly fix: treat firebase.json as root dir for Firebase resources May 7, 2021
@jthegedus jthegedus merged commit 82c8493 into main May 7, 2021
@jthegedus jthegedus deleted the fix/sveltekit-in-subdir branch May 7, 2021 08:22
github-actions bot pushed a commit that referenced this pull request May 7, 2021
## [0.6.2](v0.6.1...v0.6.2) (2021-05-07)

### Bug Fixes

* treat `firebase.json` as root dir for Firebase resources ([#43](#43)) ([82c8493](82c8493))
@github-actions
Copy link
Contributor

github-actions bot commented May 7, 2021

🎉 This PR is included in version 0.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Svelte App in subdirectory
1 participant